.class Lcom/waiqin365/lightapp/kehu/cx;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 7

    const/16 v6, 0xa

    const/16 v5, 0x8

    const/4 v4, 0x0

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    sparse-switch v0, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Ljava/util/ArrayList;

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v1, v6, :cond_4

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->a()V

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-nez v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->e(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)I

    :cond_1
    :goto_1
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->f(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->f(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->g(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/b/ar;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/b/ar;->notifyDataSetChanged()V

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->f(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-nez v1, :cond_5

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->h(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/NoNetView;->a()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->h(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v1

    invoke-virtual {v1, v5}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->setVisibility(I)V

    :goto_2
    if-eqz v0, :cond_3

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v0

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->smoothScrollToPosition(I)V

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->a(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->b(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->dismissProgressDialog()V

    goto/16 :goto_0

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->c()Z

    move-result v1

    if-nez v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->b()V

    goto/16 :goto_1

    :cond_5
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v1

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->setVisibility(I)V

    goto :goto_2

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/kehu/a/a/bl;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/a/bl;->b()Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/a/a/bl;->f:Ljava/lang/String;

    const/4 v2, 0x1

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v1

    sget-object v2, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    sget-object v3, Lcom/fiberhome/gaea/client/c/b;->d:Ljava/util/Locale;

    invoke-virtual {v2, v3}, Ljava/util/Locale;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_a

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->i(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Landroid/widget/TextView;

    move-result-object v2

    iget-object v3, v0, Lcom/waiqin365/lightapp/kehu/a/a/bl;->d:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->i(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Landroid/widget/TextView;

    move-result-object v2

    const-string/jumbo v3, "#ff9008"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextColor(I)V

    :goto_3
    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    iget-object v3, v0, Lcom/waiqin365/lightapp/kehu/a/a/bl;->d:Ljava/lang/String;

    invoke-static {v2, v3}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;Ljava/lang/String;)Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)I

    move-result v2

    if-lt v2, v1, :cond_b

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->a()V

    :cond_6
    :goto_4
    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/a/a/bl;->h:Ljava/util/ArrayList;

    if-eqz v0, :cond_8

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v1, v6, :cond_c

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->a()V

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-nez v1, :cond_7

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->e(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)I

    :cond_7
    :goto_5
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_8

    new-instance v1, Lcom/waiqin365/lightapp/kehu/cy;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/cy;-><init>(Lcom/waiqin365/lightapp/kehu/cx;)V

    invoke-static {v0, v1}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->f(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->f(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->g(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/b/ar;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/b/ar;->notifyDataSetChanged()V

    :cond_8
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->f(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-nez v1, :cond_d

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->h(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->h(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/NoNetView;->a()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v1

    invoke-virtual {v1, v5}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->setVisibility(I)V

    :goto_6
    if-eqz v0, :cond_9

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_9

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v0

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->smoothScrollToPosition(I)V

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->a(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->b(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->dismissProgressDialog()V

    goto/16 :goto_0

    :cond_a
    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->j(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Landroid/widget/TextView;

    move-result-object v2

    iget-object v3, v0, Lcom/waiqin365/lightapp/kehu/a/a/bl;->d:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->j(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Landroid/widget/TextView;

    move-result-object v2

    const-string/jumbo v3, "#ff9008"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextColor(I)V

    goto/16 :goto_3

    :cond_b
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->c()Z

    move-result v1

    if-nez v1, :cond_6

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->b()V

    goto/16 :goto_4

    :cond_c
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->c()Z

    move-result v1

    if-nez v1, :cond_7

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->b()V

    goto/16 :goto_5

    :cond_d
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cx;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    move-result-object v1

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->setVisibility(I)V

    goto/16 :goto_6

    :sswitch_data_0
    .sparse-switch
        0xa -> :sswitch_1
        0x3f2 -> :sswitch_0
    .end sparse-switch
.end method
